package cn.com.cifi.mars.mapper.mars;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import cn.com.cifi.mars.entity.ApprovalWarning;
import cn.com.cifi.mars.entity.ApprovalWarningPosition;
import cn.com.cifi.mars.entity.MdmProject;

/**
 * <p>
 * 货值审批预警表 Mapper 接口
 * </p>
 *
 * @author yyd
 * @since 2021-03-19
 */
public interface ApprovalWarningMapper extends BaseMapper<ApprovalWarning> {

	ApprovalWarning selectByBillId(@Param("billId")String billId);

	ApprovalWarning selectByTaskId(@Param("instanceId")String instanceId);

	MdmProject selectProject(@Param("projectId")String projectId);

	List<ApprovalWarningPosition> selectByType(@Param("type")String type);

	List<ApprovalWarningPosition> selectWarningPosition();

}
